import { createStore } from 'redux'

import reducer from './reducers';


// 创建全局store仓库
const store = createStore(reducer)

export default store;

console.log('state', store.getState())